package com.xiaoyu.awakening.user.controller;

import com.xiaoyu.awakening.common.core.dto.Page;
import com.xiaoyu.awakening.common.core.dto.Result;
import com.xiaoyu.awakening.user.api.IRoleControllerApi;
import com.xiaoyu.awakening.user.dto.RoleDto;
import com.xiaoyu.awakening.user.dto.req.CreateRoleReq;
import com.xiaoyu.awakening.user.dto.req.SearchUserReq;
import com.xiaoyu.awakening.user.dto.req.UpdateRoleReq;
import lombok.extern.log4j.Log4j2;
import org.springframework.web.bind.annotation.RestController;

/**
 * 角色管理API
 *
 * @author wangxiaoyu
 * @since v1.0
 */
@Log4j2
@RestController
public class RoleController implements IRoleControllerApi {
    @Override
    public Result<RoleDto> create(CreateRoleReq createRoReq) {
        return null;
    }

    @Override
    public Result<String> delete(Long id) {
        return null;
    }

    @Override
    public Result<RoleDto> update(UpdateRoleReq updateRoleReq) {
        return null;
    }

    @Override
    public Result<Page<RoleDto>> search(SearchUserReq searchUserReq) {
        return null;
    }

    @Override
    public Result<RoleDto> details(Long id) {
        return null;
    }
}
